<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>获取上下文路径</title>
</head>
<body>
<h1>ContextPath = <%=request.getContextPath()%></h1>
<div><img src="<%=request.getContextPath()%>/images/logo.png"></div>
</body>
</html>
